package com.xiaoma.config.selector;

/**
 * @author maj
 * @ClassName Employee
 * @Description
 * @date 2020-08-03 13:24
 */
public class User {

  private Integer id;
  private String name;
  private Integer age;
  private Integer did; //部门id

  public User() {
    System.out.println("employee 无参构造");
  }

  public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public Integer getAge() {
    return age;
  }
  public void setAge(Integer age) {
    this.age = age;
  }

  public Integer getDid() {
    return did;
  }
  public void setDid(Integer did) {
    this.did = did;
  }

  @Override
  public String toString() {
    return "Employee [id=" + id + ", name=" + name + ", age=" + age + ", did=" + did + "]";
  }

}
